package com.itheima.service;

import com.itheima.pojo.Class;
import com.itheima.pojo.User;
import org.apache.ibatis.annotations.Select;

import java.awt.print.Book;
import java.util.List;

public interface LoginService {
    //根据mobile查询user,判断是否是教师
    User SelectByMobile(String mobile);
    //查询ks_class
    List<Class> SelectClass();
    //根据mobile和password判断登录是否成功
    User SelectByMobileAndName(User user);
}
